package edu.jit.nsi.iot_ms.transport.httpclient.jsiot;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Setter
@Data
public class JSPlatWHData extends JSPlatData{
    WHKV data;

    public JSPlatWHData(String tid, float temp, float humi, float illu, float spd, float dir, float rain){
        super(tid);
        data = new WHKV(temp, humi, illu, spd, dir, rain);
    }

    @Data
    @AllArgsConstructor
    private class WHKV{
        float airTemp;
        float airHumidity;
        float lightIntensity;  //klux
        float windVelocity;
        float windDirection;
        float dayrain;
    }


}
